<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
		
	</body>
	<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
	<script type="text/javascript">
		$.ajax({
			type:"get",
			url:"data/youxi.json",
			async:true,
			success:function(result){
				var news = result.result.data;
				news.forEach(function(item){
					console.log(item)
					var title = "<a href='"+item.url+"'><h1>"+item.title+"</h1></a>";
					var dates = "<p>"+item.date+"</p>";
					var imgs = "<img src = '"+item.thumbnail_pic_s+"' />";
					$("body").append(title+dates+imgs)
				})
			}
		});
		
	</script>
</html>
